﻿CREATE TABLE [dbo].[sys_SerialNumber]
(
	[ModuleID] INT NOT NULL PRIMARY KEY, 
    [NextSN] INT NOT NULL DEFAULT 0, 
    CONSTRAINT [FK_sys_SerialNumber_ModuleID] FOREIGN KEY ([ModuleID]) REFERENCES [sys_Modules]([ModuleID])
)
